package org.feng.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.feng.api.sys.logs.LogVO;
import org.feng.bo.AddOperateLogRequest;
import org.feng.entity.OperateLog;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 操作日志服务接口
 *
 * @author feng
 */
@Transactional(rollbackFor = Exception.class)
public interface IOperateLogService extends IService<OperateLog> {

    void addLog(AddOperateLogRequest request);

    List<LogVO> queryByQueryId(String queryId);
}
